<app-card>
  <button [class.active]="selected" (click)="onSelectUser()">
    <img  [src]="imagePath" [alt]="user.name"/>
    <span>{{ user.name }}</span>
  </button>
</app-card>

<!--Use Signal-->
<!--<div>-->
<!--  <button (click)="onSelectUser()">-->
<!--    <img  [src]="imagePath()" [alt]="selectedUser().name"/>-->
<!--    <span>{{ selectedUser().name }}</span>-->
<!--  </button>-->
<!--</div>-->
